package com.example.benefitcommunity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.util.Date;
import java.io.Serializable;

/**
 * 房屋租赁表(BcHousingRental)实体类
 *
 * @author makejava
 * @since 2025-08-19 17:58:22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("bc_housing_rental")
public class BcHousingRental implements Serializable {
    @Serial
    private static final long serialVersionUID = 182094370242041452L;
    /**
     * 房屋租赁id
     */
    private Integer id;
    /**
     * 图片
     */
    private String picture;
    /**
     * 房屋
     */
    private String house;
    /**
     * 户主
     */
    private String householder;
    /**
     * 电话
     */
    private String phone;
    /**
     * 租金
     */
    private String rent;
    /**
     * 租赁方式
     */
    private String leasemethod;
    /**
     * 备注
     */
    private String remark;
    /**
     * 社区id
     */
    private Integer communityid;
    /**
     * 用户id
     */
    private Integer userid;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;


}

